SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4bc10f57d9a685dadd83dc7f3c0dce8313bb1dd2f65134a427603b02b966d251' 
  AND token = 'a7iLygyIOkNKkKZScI2Bw9xI39b94L8bSmMg5fQgn6o=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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