SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '31622a943c380e014677921c4fa75585e716fe211b7cea1b5da4ce1e6d1a976a' 
  AND token = 'NPLgymvgYQJ69ld+8ilkeeFfzWXe7TC12Ewjgvb3lG8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00034

JSON explain

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