SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '40df02905f5766b9f87eda6846e02340f3c372a142206d18474fe8f02a17ead6' 
  AND token = 'EZ/+ceqqRv490fr7gvjWTmEeA8U7E8un++okqPSLpCY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00021

JSON explain

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