SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f87b7cddeb10a31c409eb6d788ceb6cb63fb9abe6fbd393d11aab76c6f26129e' 
  AND token = 'c5OJ8EMcdVijuU7GbksLBfItLzPl9fPtbshr+k4K+2U=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00050

JSON explain

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