SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7f7f64ab05d9dba3fde565503827ef19f334ef8662bddace0f4f3856ee2aa3ea' 
  AND token = '324IGkY6+LZX37VLIe8caKceqicM/BHyhtjzhjcCD/U=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00050

JSON explain

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