SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e5b5e90609e62ecf9600c6be40ebfc890876223a4ab9f20d6436412bb037a2d5' 
  AND token = 'XhKTeWfKKWbYSzwroD6FAaLO/NioWGidVyQ73KZmFxU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00034

JSON explain

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