SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '05320cb687507972eef46e69007ee5c99941ce8c4e87e632c7adb143f743ca50' 
  AND token = 'ittR6Fhwn9i8SmwPy/PVCN0camS/9lfZHiZ/43OpfNE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00058

JSON explain

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