SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7f1133ec0a96594c1b502ef4340a6394a62c76116436bc032c419846ec0c3467' 
  AND token = '2agVGQqM/M58mgk7nV9diwYXSSU/0FVteWZj5NcvMLA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00026

JSON explain

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