SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1ab3e51da170e506dd66d16b6f56a3f5e1d092e23409d43083927f1318cd7e8c' 
  AND token = 'pZ2IHuWMIGIg9I34X791R+uxwy+evIe852FOt84eiTA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00045

JSON explain

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