SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4d15e3f29342da867bfa9be128f7850bf7a74b1c55ce99cec5d324428bc64d5b' 
  AND token = '20502pCiKLjmXXLgGdXdAmYiDb42SU5hWjFijcbShMA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}