SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '51664331ab842b73ce8b9390ec1e26212eaf0b428df6596ed5521d987def245c' 
  AND token = 'YfP4690fs3nljMy3gpjlBcxORr8mb5LoxF8+kWToNyc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00018

JSON explain

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