SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9f78e6585b04c083c2566c136ac73bc9098de6d01388bcdf98bd0596bccd234b' 
  AND token = 'OhVDF5h9HnpwhrTQxekf6uHqpk739VANleBCj3LdwAI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00043

JSON explain

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