SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd3863106ecb8db51e39570ce11fd6e13d5258eb01673beeb652a269f3c074cbc' 
  AND token = 'eRH9kbcGNr0y0asa0ZbSBAC2YfLQSx97FVmDkKZ+lu4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00048

JSON explain

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