SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '524916e472b8812cd5657c557f2a3b0f487c5772d77e74f7823c842bac96d175' 
  AND token = '2mv+QB2in65mF5kANQl4wji7mWRERwezwifB1OeQmYQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00050

JSON explain

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