SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'aa85eaf23788e1a6b77536e186f51c5af4cd2405dbe6c2c260168774972299dd' 
  AND token = 'ncBXnvJ2E7R3Do3vbVJSDiu0KQNaRbh/yq+enshml9g=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00054

JSON explain

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