SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '30d73df832a4ee2a297c86790f888fcbf6afa2438b4e07d487d5b96621cb6e80' 
  AND token = 'qJVd0KkpKXSk/gask3dVoXEpyoRe6Oc59S/Iy/7Gxf4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}