SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '017e9727716c46b2561a702e42fbfc0851634daf40579435b4c65facfe5d8109' 
  AND token = 'M82Lz3bwoSZtmnBReCbuTGCcYO4xKXXnjz8vM4aGCBk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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