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

Query time 0.00037

JSON explain

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