SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'dbf83e886d4104e58501fecb6cc47f902d65602eba33351e03ec9d3e0fb51bfc' 
  AND token = 'pn1QNhQdmXnodtxpEfOL5iSjtXcBXE57lBP+FnsUkTw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00050

JSON explain

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