SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1631fe83af7bbdebc4f6cf5d7eb68ba3bfd4df5319b4b2ed48d12767da8240c0' 
  AND token = 'n1pim71VOc5rZqJt42UDGE6uoXuX3ZGIduwYOA+HUHY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.07894

JSON explain

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