SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd9ef1255facdc3ee085eb69fe4702e666149c690ccd19b14f89815033c1ca582' 
  AND token = 'qSjH/b7qjPbDx7SIr+6ZKk/mHAvsn5FZAI6beHZNN9c=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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